#!/bin/csh -f
# call as: do_it -h 'date;runpc $x >& runpc.log' $x

set sub = pcn_r
mkdir $sub
cd $sub

source $prodir/setup.scr
procheck_nmr ../$1.pdb ../ranges_paper
#procheck_nmr ../$1.pdb

#set psfile = `gawk '/Residue properties plot/ { print $NF; exit }' mplot.log`
#
#echo "$ IDENT $1"               > ../$1.dbin
#$PDBNMR/scripts/pcout  $psfile >> ../$1.dbin
#$PDBNMR/scripts/edtout $1.edt  >> ../$1.dbin
\mv $1.edt ../$1.edt
\mv $1.sum ../$1.pcn_r.sum
#\mv $1.edt ../$1.edtfull

cd ..
\rm -r $sub
